package com.zzl.services;

import com.zzl.entity.Grade;
import com.zzl.entity.PageBean;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;

public interface GradeServices {

    int gradeaCount(Connection con, Grade grade) throws SQLException;

    ResultSet gradeList(Connection con, PageBean pageBean, Grade grade) throws SQLException;

    int gradeDelete(Connection con, String delIds) throws SQLException;

    int gradeAdd(Connection con, Grade grade) throws SQLException;

    int gradeModify(Connection con, Grade grade) throws SQLException;

    boolean hasStudentsInGrade(Connection con, String gradeId);
}
